package com.wang.mapper;

import com.wang.bean.SinglechoiceResults;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SinglechoiceResultsMapper {
    public SinglechoiceResults findSinglechoiceResultsByUserSinglechoiceId(SinglechoiceResults singlechoiceResults);
    public List<SinglechoiceResults> findSinglechoiceResultsByUserId(SinglechoiceResults singlechoiceResults);
    public List<SinglechoiceResults> findSinglechoiceResultsBySinglechoiceId(SinglechoiceResults singlechoiceResults);
    public List<SinglechoiceResults> findSinglechoiceResultsAll();
    public void addSinglechoiceResults(SinglechoiceResults singlechoiceResults);
    public void updateSinglechoiceResults(SinglechoiceResults singlechoiceResults);

}
